package com.twu.biblioteca;

public class User {

    private String name;
    private String email;
    private String phonenumber;
    private String loginnumber;
    private String password;

    public User(String name, String email, String phonenumber, String loginnumber, String password) {
        this.name = name;
        this.email = email;
        this.phonenumber = phonenumber;
        this.loginnumber = loginnumber;
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public String getEmail() {
        return email;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public String getLoginnumber() {
        return loginnumber;
    }

    public String getPassword() {
        return password;
    }

    public String toString() {
        return String.format("%-10s | %-15s | %-15s | %10s", name, email, phonenumber, loginnumber);
    }
}
